<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="http://www.petercorke.com/RVC/common/toolboxhelp.css">
    <title>M-File Help: iconcat</title>
  </head>
  <body>
  <table border="0" cellspacing="0" width="100%">
    <tr class="subheader">
      <td class="headertitle">M-File Help: iconcat</td>
      <td class="subheader-left"><a href="matlab:open iconcat">View code for iconcat</a></td>
    </tr>
  </table>
<h1>iconcat</h1><p><span class="helptopic">Concatenate images</span></p><strong>C</strong> = <span style="color:red>iconcat</span>(<strong>im</strong>,<strong>options</strong>) concatenates images from the cell array <strong>im</strong>.  The
images do not have to be of the same size, and smaller images are surrounded
by background pixels which can be specified.

<span style="color:red>iconcat</span>(<strong>im</strong>,<strong>options</strong>) as above but displays the concatenated images
using idisp.

[<strong>C</strong>,<strong>u</strong>] = <span style="color:red>iconcat</span>(<strong>im</strong>,<strong>options</strong>) as above but also returns the vector <strong>u</strong> whose
elements are the coordinates of the left (or top in vertical mode) edge of
the corresponding image.

<h2>Options</h2>
<table class="list">
  <tr><td style="white-space: nowrap;" class="col1">'dir', D</td> <td>direction of concatenation: 'horizontal' (default) or 'vertical'.</td></tr>
  <tr><td style="white-space: nowrap;" class="col1">'bgval', B</td> <td>value of unset background pixels</td></tr>
</table>
<h2>Notes</h2>
<ul>
  <li>Works for color or greyscale images</li>
  <li>Direction can be abbreviated to first character, 'h' or 'v'</li>
  <li>In vertical mode all images are right justified</li>
  <li>In horizontal mode all images are top justified</li>
</ul>
<h2>See also</h2>
<p>
<a href="matlab:doc idisp">idisp</a></p>
<hr>

<table border="0" width="100%" cellpadding="0" cellspacing="0">
  <tr class="subheader" valign="top"><td>&nbsp;</td></tr></table>
<p class="copy">&copy; 1990-2011 Peter Corke.</p>
</body></html>